<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>templates 测试页</title>
<!-- <link rel="stylesheet" href="../static/css/user.css"> -->
<link th:href="@{/css/user.css}" rel="stylesheet"/>
</head>
<body>
<h1 th:text="${user}">Hello</h1>
session中的数据：<span th:text="${session.shj}">Hello</span>
<p class="nameStyle">你好, <span th:text="${name}"></span></p>
</body>
</html>